#pragma once
#include "VComplexWidget.h"


class VButton;

class VCatagoryEffectItem :
    public VComplexWidget
{
public:
    VCatagoryEffectItem(void);
    ~VCatagoryEffectItem(void);

public:
    void init();
    bool render() const;
    void move(int x, int y);
    void resize(int w, int h);

public:
    void setPictureIdBase(int baseid);
    bool loadTexture(const std::string& imgpath);

public:
    void mouseClick(int x, int y);

protected:
    bool selfRender() const;

protected:
    VButton* _btn;
};
